package com.rui.study.micro.oauth2.model;


import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class AccountDTO {

    @NotBlank(message = "不能为空", groups = LoginGroup.class)
    private String username;

    @NotBlank(message = "不能为空", groups = LoginGroup.class)
    private String password;
}
